package ua.openmedis.web.test;

import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import ua.openmedis.domain.Agents;
import ua.openmedis.domain.AssetGenericName;
import ua.openmedis.domain.Assetstatus;
import ua.openmedis.domain.Assetutilization;
import ua.openmedis.domain.Donors;
import ua.openmedis.domain.Employees;
import ua.openmedis.domain.Location;
import ua.openmedis.domain.Manufactures;
import ua.openmedis.domain.Suppliers;
import ua.openmedis.domain.Warrantycontract;
import ua.openmedis.domain.Workorders;

public class Device {
	private String assetcategory1;
	private String genericAssetCode;
	private String genericAssetName;

	private String assetId;
	private String agents;
	private String employees;
	private String donors;
	private String manufactures;
	private String suppliers;
	private String warrantycontract;
	private String location;
	private String assetutilization;
	private String assetstatus;
	private AssetGenericName assetgenericname;
	private Integer umdns;
	private String assetFullName;
	private String model;
	private String serialNumber;
	private String internalIventoryNumber;
	private String responsiblePers;
	private Date purchaseDate;
	private Date installationDate;
	private Integer lifetime;
	private Double purchasePrice;
	private Double currentValue;
	private Date warrantyContractExp;
	private String warrantyContractNotes;
	private String notes;
	private String picture;
	private Date lastmodified;
	private String byUser;

	// private Set<Workorders> workorderses = new HashSet<Workorders>(0);

	public Device() {
		super();
		this.assetFullName = "";
		this.genericAssetName = "";
		this.genericAssetCode = "";
	}
	

	public String getAssetcategory1() {
		return assetcategory1;
	}

	public void setAssetcategory1(String assetcategory1) {
		this.assetcategory1 = assetcategory1;
	}



	public String getAssetId() {
		return assetId;
	}

	public void setAssetId(String assetId) {
		this.assetId = assetId;
	}

	public String getAgents() {
		return agents;
	}

	public void setAgents(String agents) {
		this.agents = agents;
	}

	public String getEmployees() {
		return employees;
	}

	public void setEmployees(String employees) {
		this.employees = employees;
	}

	public String getDonors() {
		return donors;
	}

	public void setDonors(String donors) {
		this.donors = donors;
	}

	public String getManufactures() {
		return manufactures;
	}

	public void setManufactures(String manufactures) {
		this.manufactures = manufactures;
	}

	public String getSuppliers() {
		return suppliers;
	}

	public void setSuppliers(String suppliers) {
		this.suppliers = suppliers;
	}

	public String getWarrantycontract() {
		return warrantycontract;
	}

	public void setWarrantycontract(String warrantycontract) {
		this.warrantycontract = warrantycontract;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getAssetutilization() {
		return assetutilization;
	}

	public void setAssetutilization(String assetutilization) {
		this.assetutilization = assetutilization;
	}

	public String getAssetstatus() {
		return assetstatus;
	}

	public void setAssetstatus(String assetstatus) {
		this.assetstatus = assetstatus;
	}

	public AssetGenericName getAssetgenericname() {
		return assetgenericname;
	}

	public void setAssetgenericname(AssetGenericName assetgenericname) {
		this.assetgenericname = assetgenericname;
	}

	public Integer getUmdns() {
		return umdns;
	}

	public void setUmdns(Integer umdns) {
		this.umdns = umdns;
	}

	public String getAssetFullName() {
		return assetFullName;
	}

	public void setAssetFullName(String assetFullName) {
		this.assetFullName = assetFullName;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}

	public String getInternalIventoryNumber() {
		return internalIventoryNumber;
	}

	public void setInternalIventoryNumber(String internalIventoryNumber) {
		this.internalIventoryNumber = internalIventoryNumber;
	}

	public String getResponsiblePers() {
		return responsiblePers;
	}

	public void setResponsiblePers(String responsiblePers) {
		this.responsiblePers = responsiblePers;
	}

	public Date getPurchaseDate() {
		return purchaseDate;
	}

	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}

	public Date getInstallationDate() {
		return installationDate;
	}

	public void setInstallationDate(Date installationDate) {
		this.installationDate = installationDate;
	}

	public Integer getLifetime() {
		return lifetime;
	}

	public void setLifetime(Integer lifetime) {
		this.lifetime = lifetime;
	}

	public Double getPurchasePrice() {
		return purchasePrice;
	}

	public void setPurchasePrice(Double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}

	public Double getCurrentValue() {
		return currentValue;
	}

	public void setCurrentValue(Double currentValue) {
		this.currentValue = currentValue;
	}

	public Date getWarrantyContractExp() {
		return warrantyContractExp;
	}

	public void setWarrantyContractExp(Date warrantyContractExp) {
		this.warrantyContractExp = warrantyContractExp;
	}

	public String getWarrantyContractNotes() {
		return warrantyContractNotes;
	}

	public void setWarrantyContractNotes(String warrantyContractNotes) {
		this.warrantyContractNotes = warrantyContractNotes;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public Date getLastmodified() {
		return lastmodified;
	}

	public void setLastmodified(Date lastmodified) {
		this.lastmodified = lastmodified;
	}

	public String getByUser() {
		return byUser;
	}

	public void setByUser(String byUser) {
		this.byUser = byUser;
	}

	public String getGenericAssetCode() {
		return genericAssetCode;
	}

	public void setGenericAssetCode(String genericAssetCode) {
		this.genericAssetCode = genericAssetCode;
	}

	public String getGenericAssetName() {
		return genericAssetName;
	}

	public void setGenericAssetName(String genericAssetName) {
		this.genericAssetName = genericAssetName;
	}

	@Override
	public String toString() {
		return "Device [assetcategory=" + assetcategory1 + ", genericAssetCode="
				+ genericAssetCode + ", genericAssetName=" + genericAssetName
				+ ", assetId=" + assetId + ", agents=" + agents
				+ ", employees=" + employees + ", donors=" + donors
				+ ", manufactures=" + manufactures + ", suppliers=" + suppliers
				+ ", warrantycontract=" + warrantycontract + ", location="
				+ location + ", assetutilization=" + assetutilization
				+ ", assetstatus=" + assetstatus + ", assetgenericname="
				+ assetgenericname + ", umdns=" + umdns + ", assetFullName="
				+ assetFullName + ", model=" + model + ", serialNumber="
				+ serialNumber + ", internalIventoryNumber="
				+ internalIventoryNumber + ", responsiblePers="
				+ responsiblePers + ", purchaseDate=" + purchaseDate
				+ ", installationDate=" + installationDate + ", lifetime="
				+ lifetime + ", purchasePrice=" + purchasePrice
				+ ", currentValue=" + currentValue + ", warrantyContractExp="
				+ warrantyContractExp + ", warrantyContractNotes="
				+ warrantyContractNotes + ", notes=" + notes + "]";
	}

}
